package cn.itsource.bean;

import cn.itsource.tree.BaseTreeNode;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author : 张金铭
 * @description :
 * @create :2022-11-20 14:59:00
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_pet_type")
@ApiModel("品种实体类")
public class PetType extends BaseTreeNode<PetType> implements Serializable {
    private Long id;//id
    private String name;//品种名
    private String description;//描述
    @TableField(value = "pid")
    private Long parentId;//品种上级
}
